package com.dome.gateway.route;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @description:
 * @author: hz
 * @time: 2021/4/28 17:24
 */
@Component
@ConfigurationProperties(prefix = "gateway")
@RefreshScope
@Getter
@Setter
public class GatewayApiRouteProperties {
    private Map<String,GatewayApiRoute> gatewayApiRoutes;

}
